<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/jstl/fn.tld" prefix="fn" %>
<!-- 显示信息相关 -->
<c:choose>
	  	<c:when test="${empty indexinfo }">
			<!-- <div class="alert">
				 <button type="button" class="close" data-dismiss="alert">×</button>
				<h4>
				信息!
				</h4> <strong>(～￣▽￣)～*!</strong> 这里一个信息框框.
			</div> -->
		</c:when>
		<c:when test="${not empty sessionScope.indexinfo }">
			<div class="alert ${sessionScope.indexinfo.type}">
				 <button type="button" class="close" data-dismiss="alert">×</button>
				 <h4>${sessionScope.indexinfo.title}!</h4>
				 <strong>${sessionScope.indexinfo.emoji}!</strong> ${sessionScope.indexinfo.msg}.
			</div>
		</c:when>
		<c:otherwise>
			<div class="alert ${indexinfo.type}">
				 <button type="button" class="close" data-dismiss="alert">×</button>
				 <h4>${indexinfo.title}!</h4>
				 <strong>${indexinfo.emoji}!</strong> ${indexinfo.msg}.
			</div>
		</c:otherwise>
</c:choose>
<%session.removeAttribute("logininfo");
session.removeAttribute("indexinfo");
request.removeAttribute("logininfo");
request.removeAttribute("indexinfo");
//显示一次就移除 %>
